<?php


namespace app\admin\model;


use think\Model;

class NewsType extends Model
{
    public function news(){
        return $this->hasMany('News','type_id');
    }

}